package cc.codeshop.activityservice;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;

public class LocalService extends Service {
	
	@Override
	public void onCreate() {
		super.onCreate();
		Log.d("cc", "onCreate");
	}
	
	@Override
	public int onStartCommand(Intent intent, int flags, int startId) {
		Log.d("cc", "onStartCommand");
		return super.onStartCommand(intent, flags, startId);
	}

	@Override
	public IBinder onBind(Intent intent) {
		Log.d("cc", "onBind");
		LogicInterface loginInterface = new LogicInterface();
		return loginInterface;
	}

	@Override
	public boolean onUnbind(Intent intent) {
		Log.d("cc", "onUnbind");
		return super.onUnbind(intent);
	}
	
	@Override
	public void onDestroy() {
		Log.d("cc", "onDestroy");
		super.onDestroy();
	}
	
}
